package poker

type HandCard struct {
	Cards []*Card
}

func NewHandCard(cards []*Card) *HandCard {
	return &HandCard{Cards: cards}
}

func (this *HandCard) Counts() int {
	return len(this.Cards)
}

func (this *HandCard) Empty() bool {
	return len(this.Cards) == 0
}

func (this *HandCard) Push(card *Card) *HandCard {
	this.Cards = append(this.Cards, card)
	return this
}
